Uses of Class
money.Money
Packages that use Money
-
Uses of Money in money
Modifier and TypeClassDescriptionclassA MoneyBag defers exchange rate conversions.classA simple amount of Money with its currency.Modifier and TypeMethodDescriptionabstract MoneyAdds given money to this money.abstract MoneyMoney.multiply(int factor) Multiplies this money by the given factor.MoneyBag.multiply(int factor) SimpleMoney.multiply(int factor) abstract MoneyMoney.negate()Negates this money.MoneyBag.negate()SimpleMoney.negate()static MoneyMoneyBag.of(SimpleMoney... monies) Static "constructor" that creates appropriate concrete class based on the given parametersabstract MoneySubtracts given money from this money.